import { requestPost, requestGet, requestDelete, requestPut } from '../request'

// 用户登陆
export const userLogin = (data) => requestPost("/login", data)

export const userRegister = (data) => requestPost("/register", data)

// 获取 menu 的菜单集合
export const getMenuList = () => requestGet('/menu/getList')